Posted by Marvin from l316t1p33.netway.at (195.96.17.161)on March 28, 1998 at 05:48:03:
In Reply to: What pixel formats are supported in Rredline? posted by Roland Karlsson a.k.a. Klotjohan on March 28, 1998 at 05:36:05:
As far as I do understand it (could be totally
wrong, though):
Setting the PRIMARY SURFACE flag in CreateSurface
means that RRedline tries to (reuse) the current
desktop surface as your buffer 0 (i.e. buffer 0
is not allocated at all, only buffer 1 if you
try to create 2 buffers...) - so the pixelformat
must match your current desktop setting.
If you want to use other pixelformats, you
should never set this PRIMARY flag! RRedline
should still be able to display these other,
newly created buffers/surfaces when you switch
buffers....
But, as stated above, I could be totally wrong
about this....
Marvin